Page({
  data: {
    products: [
      {
        id: 1,
        name: '华为畅享 70Pro  256GB 曜金黑 鸿蒙智能手机',
        price: 1499,
        image: "https://img12.360buyimg.com/n1/s450x450_jfs/t1/29602/3/21876/42734/66abaff5Ffc1cc058/c703160d6ffbbc88.jpg.avif",
        produce:'10万+条评价   90万人种草',
        produce1:'华为自营官方店   进店》'
      },
      {
        id: 2,
        name: '华为 Pura 70 12GB+512GB 羽砂黑 ',
        price: 5599,
        image: "https://img14.360buyimg.com/n1/s450x450_jfs/t1/126119/16/44986/37238/66bd7327Febaa6a5f/daae29645b119682.jpg.avif",
        produce:'10万+条评价 ',
        produce1:'华为自营官方旗舰 进店》'
      },
      {
        id: 3,
        name: '华为MateX5手机典藏版 羽砂白12G+256G',
        price: 12398,
        image: "https://img10.360buyimg.com/n7/jfs/t1/236059/33/20322/94729/667292e2F96ecaae9/a675484300a17137.jpg.avif",
        produce:'200万+条评价 ',
        produce1:'京购手机专营店 进店》'
      },
      {
        id: 4,
        name: '华为 Pura 70 12GB+1TB 冰晶蓝',
        price: 3839,
        image: "https://img10.360buyimg.com/n1/s450x450_jfs/t1/234494/7/20364/79247/666d4badFaca27c18/41e6871120f47687.jpg.avif",
        produce:'200+条评价',
        produce1:'图南手机专卖店 进店》'
      },
      {
        id: 5,
        name: '华为(HUAWEI)mate 60  南糯紫 12GB+512GB',
        price: 5499,
        image: "https://img11.360buyimg.com/n1/s450x450_jfs/t1/10943/34/24989/56895/66bee108Ff33f252c/7eefd0fdb24eae37.jpg.avif",
        produce:'10万+条评价 ',
        produce1:'华为自营官方店   进店》'
      }
      // 可以继续添加更多商品
    ]
  },
  onProductClick: function (event) {
    const url = event.currentTarget.dataset.url;
    wx.navigateTo({
      url: url
    });
  }
});
